//
//  ReadListCell.m
//  Leisure
//
//  Created by xalo on 16/6/29.
//  Copyright © 2016年 朱旭东. All rights reserved.
//

#import "ReadListCell.h"
@interface ReadListCell ()

@property (weak, nonatomic) IBOutlet UIImageView *covrimg;
@property (weak, nonatomic) IBOutlet UILabel *content;
@property (weak, nonatomic) IBOutlet UILabel *name;

@end
@implementation ReadListCell

- (void)setCellWithMode:(id)model{
    
    ReadListModel *readListModel =model;
    
   [ self.covrimg sd_setImageWithURL:[NSURL URLWithString:readListModel.coverimg] placeholderImage:[UIImage  imageNamed:@"7.jpg®"]];
    self.content.text = readListModel.content;
    self.name.text = readListModel.title;
}
@end
